import multiprocessing as mul
import requests

def download(url):
    response=requests.get(f'https://{url}')
    with open(url.split('.')[1],'wb') as f:
        f.write(response.content)

if __name__ == '__main__':
    with open('download.txt') as f:
        urls=[ line.strip() for line in f.readlines() ]
    print(urls)
    pool=mul.Pool(3)
    rel=pool.map(download,urls)
